package com.qiyuexinxi.chat.mapper;

import com.qiyuexinxi.chat.domain.PictureInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PictureInfoMapper {

    List<PictureInfo> selectByUserId(@Param("pictureIdList") List<Integer> pictureIdList);

    int deleteByPrimaryKey(Integer pictureId);

    int insert(PictureInfo record);

    int insertSelective(PictureInfo record);

    PictureInfo selectByPrimaryKey(Integer pictureId);

    int updateByPrimaryKeySelective(PictureInfo record);

    int updateByPrimaryKey(PictureInfo record);


}